<!DOCTYPE html>
<!--加上命名空间声明：xmlns:th="http://www.thymeleaf.org/",否则不自动提示th标签等-->
<html lang="en" xmlns:th="http://www.thymeleaf.org/">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div th:text="${content}"></div>
</body>
</html>